#
# Be sure to run `pod lib lint JTBaseLib.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JTBaseLib'
  s.version          = '0.2.3'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.summary          = 'iOS 基本项目框架'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
        iOS 基本项目框架, 包含一些基类、工具类、共定义、管理类, 可以用新建项目快速搭建基本环境。 在组件化架构的不同模块中引用，可以避免重复定义同一功能模块的类, 极大方便模块的开发。
                       DESC

  s.homepage         = 'https://gitee.com/JT_iOS'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  
  s.author           = { 'kenter' => 'Hjt_830@163.com' }
  s.source           = { :git => 'https://gitee.com/JT_iOS/JTBaseLib.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  s.public_header_files = 'JTBaseLib/Classes/**/*.h'
  s.source_files = 'JTBaseLib/Classes/**/*.{h,m}'
  
  s.resource_bundles = {
    'JTBaseLib' => ['JTBaseLib/Assets/*']
  }
  
#  s.subspec 'Config' do |ss|
#      ss.source_files = 'JTBaseLib/Classes/Config/*.{h,m}'
#      ss.public_header_files = 'JTBaseLib/Classes/Config/**/*.h'
#      ss.ios.frameworks = 'UIKit', 'Foundation'
#  end
#
#  s.subspec 'Category' do |ss|
#      ss.source_files = 'JTBaseLib/Classes/Category/*.{h,m}'
#      ss.public_header_files = 'JTBaseLib/Classes/Category/**/*.h'
#      ss.ios.frameworks = 'UIKit', 'Foundation'
#      ss.dependency 'JTBaseLib/Config'
#  end
#
#  s.subspec 'Manager' do |ss|
#      ss.source_files = 'JTBaseLib/Classes/Manager/*.{h,m}'
#      ss.public_header_files = 'JTBaseLib/Classes/Manager/**/*.h'
#      ss.ios.frameworks = 'Foundation', 'AudioToolbox'
#      ss.dependency 'JTBaseLib/Config'
#      ss.dependency 'JTBaseLib/Category'
#  end
#
#  s.subspec 'Base' do |ss|
#      ss.source_files = 'JTBaseLib/Classes/Base/*.{h,m}'
#      ss.public_header_files = 'JTBaseLib/Classes/Base/**/*.h'
#      ss.ios.frameworks = 'UIKit', 'Foundation'
#      ss.dependency 'JTBaseLib/Config'
#      ss.dependency 'JTBaseLib/Manager'
#      ss.dependency 'JTBaseLib/Category'
#      end
#
#  s.subspec 'Tools' do |ss|
#      ss.source_files = 'JTBaseLib/Classes/Tools/*.{h,m}'
#      ss.public_header_files = 'JTBaseLib/Classes/Tools/**/*.h'
#      ss.ios.frameworks = 'UIKit'
#      ss.dependency 'JTBaseLib/Config'
#      ss.dependency 'JTBaseLib/Category'
#  end

  
  s.frameworks = 'UIKit', 'Foundation'
  s.dependency 'AFNetworking', '~> 3.2.1'
  s.dependency 'GTMBase64', '~> 1.0.1'
  s.dependency 'SDWebImage', '~> 5.0.6'
  s.dependency 'YYModel', '~> 1.0.4'
  s.dependency 'MJRefresh', '~> 3.2.0'
  s.dependency 'SVProgressHUD', '~> 2.2.5'
  
  
end
